package cn.tedu.rms.reservation.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ReservationVO {
    @ApiModelProperty(value="预约表主键Id")
    private Long id;
    @ApiModelProperty(value="预约用户Id")
    private Long userId;
    @ApiModelProperty(value="分店Id")
    private Long branchId;
    @ApiModelProperty(value = "分店名称")
    private String branchName;
    @ApiModelProperty(value="桌台Id")
    private Long tableId;
    @ApiModelProperty(value="处理人Id")
    private Long handleId;
    @ApiModelProperty(value="预约人名称")
    private String username;
    @ApiModelProperty(value="预留姓名")
    private String reserveName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value="预约时间")
    private Date reservationTime;
    @ApiModelProperty(value="预留电话")
    private String phone;
    @ApiModelProperty(value="预约状态")
    private String status;
    @ApiModelProperty(value="备注")
    private String remark;
    @ApiModelProperty(value="驳回原因")
    private String rejectReason;
    @ApiModelProperty(value="预约人数")
    private Integer number;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value="创建时间")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
    @ApiModelProperty(value="审核人名称")
    private String handleName;
}
